﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000F6B RID: 3947
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueMagicScepterSelectResult : IMessage<RogueMagicScepterSelectResult>, IMessage, IEquatable<RogueMagicScepterSelectResult>, IDeepCloneable<RogueMagicScepterSelectResult>, IBufferMessage
	{
		// Token: 0x17003213 RID: 12819
		// (get) Token: 0x0600B0E9 RID: 45289 RVA: 0x001DE593 File Offset: 0x001DC793
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueMagicScepterSelectResult> Parser
		{
			get
			{
				return RogueMagicScepterSelectResult._parser;
			}
		}

		// Token: 0x17003214 RID: 12820
		// (get) Token: 0x0600B0EA RID: 45290 RVA: 0x001DE59A File Offset: 0x001DC79A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueMagicScepterSelectResultReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003215 RID: 12821
		// (get) Token: 0x0600B0EB RID: 45291 RVA: 0x001DE5AC File Offset: 0x001DC7AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueMagicScepterSelectResult.Descriptor;
			}
		}

		// Token: 0x0600B0EC RID: 45292 RVA: 0x001DE5B3 File Offset: 0x001DC7B3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicScepterSelectResult()
		{
		}

		// Token: 0x0600B0ED RID: 45293 RVA: 0x001DE5BC File Offset: 0x001DC7BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicScepterSelectResult(RogueMagicScepterSelectResult other) : this()
		{
			this.selectScepter_ = ((other.selectScepter_ != null) ? other.selectScepter_.Clone() : null);
			this.pAKIBAPPNAF_ = other.pAKIBAPPNAF_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600B0EE RID: 45294 RVA: 0x001DE608 File Offset: 0x001DC808
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicScepterSelectResult Clone()
		{
			return new RogueMagicScepterSelectResult(this);
		}

		// Token: 0x17003216 RID: 12822
		// (get) Token: 0x0600B0EF RID: 45295 RVA: 0x001DE610 File Offset: 0x001DC810
		// (set) Token: 0x0600B0F0 RID: 45296 RVA: 0x001DE618 File Offset: 0x001DC818
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueMagicScepter SelectScepter
		{
			get
			{
				return this.selectScepter_;
			}
			set
			{
				this.selectScepter_ = value;
			}
		}

		// Token: 0x17003217 RID: 12823
		// (get) Token: 0x0600B0F1 RID: 45297 RVA: 0x001DE621 File Offset: 0x001DC821
		// (set) Token: 0x0600B0F2 RID: 45298 RVA: 0x001DE629 File Offset: 0x001DC829
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool PAKIBAPPNAF
		{
			get
			{
				return this.pAKIBAPPNAF_;
			}
			set
			{
				this.pAKIBAPPNAF_ = value;
			}
		}

		// Token: 0x0600B0F3 RID: 45299 RVA: 0x001DE632 File Offset: 0x001DC832
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueMagicScepterSelectResult);
		}

		// Token: 0x0600B0F4 RID: 45300 RVA: 0x001DE640 File Offset: 0x001DC840
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueMagicScepterSelectResult other)
		{
			return other != null && (other == this || (object.Equals(this.SelectScepter, other.SelectScepter) && this.PAKIBAPPNAF == other.PAKIBAPPNAF && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600B0F5 RID: 45301 RVA: 0x001DE690 File Offset: 0x001DC890
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.selectScepter_ != null)
			{
				num ^= this.SelectScepter.GetHashCode();
			}
			if (this.PAKIBAPPNAF)
			{
				num ^= this.PAKIBAPPNAF.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600B0F6 RID: 45302 RVA: 0x001DE6E5 File Offset: 0x001DC8E5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600B0F7 RID: 45303 RVA: 0x001DE6ED File Offset: 0x001DC8ED
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600B0F8 RID: 45304 RVA: 0x001DE6F8 File Offset: 0x001DC8F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.PAKIBAPPNAF)
			{
				output.WriteRawTag(8);
				output.WriteBool(this.PAKIBAPPNAF);
			}
			if (this.selectScepter_ != null)
			{
				output.WriteRawTag(82);
				output.WriteMessage(this.SelectScepter);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600B0F9 RID: 45305 RVA: 0x001DE750 File Offset: 0x001DC950
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.selectScepter_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.SelectScepter);
			}
			if (this.PAKIBAPPNAF)
			{
				num += 2;
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600B0FA RID: 45306 RVA: 0x001DE79C File Offset: 0x001DC99C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueMagicScepterSelectResult other)
		{
			if (other == null)
			{
				return;
			}
			if (other.selectScepter_ != null)
			{
				if (this.selectScepter_ == null)
				{
					this.SelectScepter = new RogueMagicScepter();
				}
				this.SelectScepter.MergeFrom(other.SelectScepter);
			}
			if (other.PAKIBAPPNAF)
			{
				this.PAKIBAPPNAF = other.PAKIBAPPNAF;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600B0FB RID: 45307 RVA: 0x001DE804 File Offset: 0x001DCA04
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600B0FC RID: 45308 RVA: 0x001DE810 File Offset: 0x001DCA10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 82U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						if (this.selectScepter_ == null)
						{
							this.SelectScepter = new RogueMagicScepter();
						}
						input.ReadMessage(this.SelectScepter);
					}
				}
				else
				{
					this.PAKIBAPPNAF = input.ReadBool();
				}
			}
		}

		// Token: 0x040047A6 RID: 18342
		private static readonly MessageParser<RogueMagicScepterSelectResult> _parser = new MessageParser<RogueMagicScepterSelectResult>(() => new RogueMagicScepterSelectResult());

		// Token: 0x040047A7 RID: 18343
		private UnknownFieldSet _unknownFields;

		// Token: 0x040047A8 RID: 18344
		public const int SelectScepterFieldNumber = 10;

		// Token: 0x040047A9 RID: 18345
		private RogueMagicScepter selectScepter_;

		// Token: 0x040047AA RID: 18346
		public const int PAKIBAPPNAFFieldNumber = 1;

		// Token: 0x040047AB RID: 18347
		private bool pAKIBAPPNAF_;
	}
}
